package com.tiancheng.trade.commom.web.model.request;

import lombok.Data;

import java.util.List;

/**
 * @author kellen
 * @date 2021/7/14
 */
@Data
public class OrderDTO {

    private String uid;
    private String openid;
    private String payScene;
    private double amount;
    private String paymentId;
    private int businessType;
    private double orderAmount;
    private String payChannel;
    private String payWay;
    private String orderName;
    private String endPage;
    private List<SubOrder> subOrders;
    private String merchantCode;
    private String merchantName;

    @Data
    public static class SubOrder {
        private String merchantCode;
        private double amount;
        private String productDetail;
        private int productCount;
        private double orderAmount;
        private String merchantName;
        private String productCode;
        private String subOrderId;
        private String productName;
    }
}
